package cc.taofoo.Design.assignment1;

public class Main {
    public static void main(String[] args) {

        Person person1 = Nvwa.createPerson(Nvwa.TYPE.M);
        Person person2 = Nvwa.createPerson(Nvwa.TYPE.R);
        Person person3 = Nvwa.createPerson(Nvwa.TYPE.W);
        person1.info();
        person2.info();
        person3.info();
    }

}
